{% load staticfiles %}
<!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8;IE=9">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta content="学工管理系统，www.centersoft.cn">
    <meta content="学生工作管理系统">
    <meta content="高校学生管理系统">
    <meta content="资助管理系统">
    <meta content="学生资助管理系统">
    <meta content="学生处">
    <meta content="学工部">
    <meta content="学生工作部">
    <meta content="成都西华升腾科技有限公司">
    <title>
        活动审批专用网
    </title>
    {{ alert|safe }}
    <style type="text/css">
        @media screen and (-webkit-min-device-pixel-ratio: 0) {
            #UserName {
                margin-top: 7px;
            }

            #UserPass {
                margin-top: 6px;
                margin-left: 8px;
            }

            #CheckCode {
                margin-top: 11px;
                margin-left: 1px;
            }
        }

        a.white:link {
            font-family: "宋体";
            font-size: 12px;
            color: #01649b;
            text-decoration: none;
        }

        a.white:visited {
            font-family: "宋体";
            font-size: 12px;
            color: #01649b;
            text-decoration: none;
        }

        a.white:hover {
            font-family: "宋体";
            font-size: 12px;
            color: #b75ffb;
        }

        a.white:active {
            font-family: "宋体";
            font-size: 12px;
            color: #01649b;
            text-decoration: none;
        }

        .miaobian {
            font-size: 12px;
            float: left;
            color: #006797;
            filter: Dropshadow(offx=1, offy=0, color=#fdfeff) Dropshadow(offx=0, offy=1, color=#fdfeff) Dropshadow(offx=-1, offy=0, color=#fdfeff) Dropshadow(offx=0, offy=-1, color=#fdfeff);
        }

        .miaobian1 {
            line-height: 26px;
            letter-spacing: 2px;
            font-size: 24px;
            font-family: 黑体;
            float: left;
            color: #006699;
            font-weight: bold;
            filter: Dropshadow(offx=1, offy=0, color=#f5fdfe) Dropshadow(offx=0, offy=1, color=#f5fdfe) Dropshadow(offx=-1, offy=0, color=#f5fdfe) Dropshadow(offx=0, offy=-1, color=#f5fdfe);
        }
    </style>

    <style>
        .text {
            border-bottom: none;
            border-left: none;
            border-top: none;
            border-right: none;
            background-color: transparent;
            width: 121px;
            margin-top: 9px;
            margin-left: 10px;
        }

        .qimo8 {
            overflow: hidden;
            width: 1000px;
            position: absolute;
            top: 2px;
            display: none;
        }

        .qimo8 .qimo {
            width: 8000%;
            height: 30px;
        }

        .qimo8 .qimo div {
            float: left;
        }

        .qimo8 a {
            margin-right: 10px;
            color: #444444;
        }
    </style>
    <link href="{% static 'css/css.css' %}" type="text/css" rel="stylesheet">
</head>
<body style="margin:5% auto;width:718px; height:100%; background-color:White">
<form name="form1" method="post" action="{% url 'login' %}" id="form1">
    <div>
        <input name="__VIEWSTATE" id="__VIEWSTATE" value="{{ view_state }}" type="hidden">
    </div>

    <div>
        {% csrf_token %}
        <input name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="{{ view_state_generator }}" type="hidden">
        <input name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="{{ event_validation }}" type="hidden">
    </div>
    <div style="width:683px;padding-left:35px;"><img src="{% static 'image/Logo.gif' %}"> <span
            style="font-size: 20px; color: #ff0000; margin-left: 40px">审批学生活动专用</span></div>
    <div style="width:718px;height:198px;background:url({{ MEDIA_URL }}bj.jpg);border:1px #3fa1f8 solid;">
        <div style="width:357px;height:134px; margin-top:65px;margin-left:327px;">
            <div style="width:160px;height:122px; margin-top:5px;margin-left:100px; float:left;">
                <div class="text"><input name="UserName" id="UserName" class="text" type="text"></div>
                <div class="text"><input name="UserPass" id="UserPass" class="text" type="password"></div>
                <div style="height:35px; line-height:35px;">
                    <div style="float:left; margin-top:6px;"><input name="CheckCode" maxlength="5" id="CheckCode"
                                                                    class="text" style="width:70px;" type="text"></div>
                    <div style="float:right; margin-top:15px; margin-right:13px;"><img style="border:none;"
                                                                                       src="{% static 'captcha.jpg' %}"
                                                                                       border="0"></div>
                </div>
            </div>
            <div style="width:83px; margin-top:25px;float:right;">
                <input name="Btn_OK" id="Btn_OK" src="{% static 'image/Btn.gif' %}" style="border-width:0px;"
                       type="image">
            </div>
        </div>
    </div>
    <div style="background:url({{ MEDIA_URL }}b-bj.jpg);height:21px; clear:none; line-height:21px; margin-top:23px;border:1px #3fa1f8 solid;color:#006797; font-family:宋体,serif; font-size:12px; text-align:center;">
        注意：1、同一电脑不允许同时登录多个帐号 <font color="red">2、为保障网页兼容性，请尽量使用最新Firefox或Chrome等浏览器，别用IE！</font></div>
    <div style="color:#006797; font-family:宋体; font-size:12px; text-align:center; padding:2px; margin-top:5px; line-height:10px;">
        版权所有<span style="font-family:arial;">&#169;</span>成都信息工程大学学工部（处）&nbsp;系统维护：<a href="http://www.eu123.cn/"
                                                                                      target="_blank">成都信息工程大学</a><br><br>
        地址：四川省成都市西南航空港经济开发区学府路一段24号 邮编：610225<br>
        <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
        document.write(unescape("%3Cspan id='cnzz_stat_icon_1000271341'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "v1.cnzz.com/z_stat.php%3Fid%3D1000271341%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
        <span id="cnzz_stat_icon_1000271341"><img src="{% static 'image/pic.gif' %}" vspace="0" border="0"
                                                  hspace="0"></span>

    </div>

</form>
<!-- 作者：李源、赵乙苏 日期：2017-9-20 -->


<script>
    function AddFavorite(sURL, sTitle) {
        try {
            window.external.addFavorite(sURL, sTitle);
        }
        catch (e) {
            try {
                window.sidebar.addPanel(sTitle, sURL, "");
            }
            catch (e) {
                alert("加入收藏失败，请使用Ctrl+D进行添加");
            }
        }
    }


</script>
</body>
</html>